NDepend.API Documentation
DefinedFor Method
NDepend.CodeModel Namespace > ICodeMetric<TCodeElement,TNumeric> Interface : DefinedFor Method
The code element.
Gets a value indicating whether this code metric is defined for codeElement.
Syntax

Parameters

codeElement
The code element.
Remarks
This method has a constant time complexity.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ICodeMetric<TCodeElement,TNumeric> Interface
ICodeMetric<TCodeElement,TNumeric> Members